package org.example.demo4_abstractfactory;

public class Client {
    public static void main(String[] args) {
        ConcreteFactory concreteFactory = new ConcreteFactory();
        ConcreteAccountsPayable concreteAccountsPayable = (ConcreteAccountsPayable) concreteFactory.createAccountsPayable();
        concreteAccountsPayable.add();
        concreteAccountsPayable.check();
        concreteAccountsPayable.addDetail();
        concreteAccountsPayable.print();
        concreteAccountsPayable.delete();

    }
}
